<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<h:body>
	<ui:composition template="/secured/workarea.xhtml">
		<ui:define name="espacio_trabajo">
			<h:form styleClass="frmDescargas">
				<table>
					<tr>
						<td align="left">
							<div class="breadcrumb flat" style="text-align: left">
								<h:commandLink action="#{menuBean.regresaInicio}" value="Inicio" />
								<h:outputLink value="#" styleClass="active">#{msg.cedulas}</h:outputLink>
							</div>
						</td>
					</tr>
				</table>
				<p:growl id="growl" showDetail="true" />
				<p:panel>
					<h:outputText
						value="#{msg.frsCedulas}"
						style="text-align:left;" />
				</p:panel>
				<p:panel id="panel" header="Reporte Instructor" closable="false">
					<p:tabView id="tabView">
						<p:tab id="tab1" title="Cedula 1">
							<h:panelGrid columns="2" cellpadding="10">
								<p:commandButton value="Descargar" icon="ui-icon-print"
									update="@all"
									actionListener="#{beanReporteCedula.mostrarReporte('Cedula_0')}"
									styleClass="ui-dialog-buttonpane" />
							</h:panelGrid>
						</p:tab>
						<p:tab id="tab2" title="Cedula 2">
							<h:panelGrid columns="2" cellpadding="10">
								<p:commandButton value="Descargar" icon="ui-icon-print"
									update="@all"
									actionListener="#{beanReporteCedula.mostrarReporte('Cedula_1')}"
									styleClass="ui-dialog-buttonpane" />
							</h:panelGrid>
						</p:tab>
						<p:tab id="tab3" title="Cedula 3">
							<h:panelGrid columns="2" cellpadding="10">
								<p:commandButton value="Descargar" icon="ui-icon-print"
									update="@all"
									actionListener="#{beanReporteCedula.mostrarReporte('Cedula_2')}"
									styleClass="ui-dialog-buttonpane" />
							</h:panelGrid>
						</p:tab>
						<p:tab id="tab4" title="Cedula 4">
							<h:panelGrid columns="2" cellpadding="10">
								<p:commandButton value="Descargar" icon="ui-icon-print"
									update="@all"
									actionListener="#{beanReporteCedula.mostrarReporte('Cedula_3')}"
									styleClass="ui-dialog-buttonpane" />
							</h:panelGrid>
						</p:tab>
						<p:tab id="tab5" title="Cedula 5">
							<h:panelGrid columns="2" cellpadding="10">
								<p:commandButton value="Descargar" icon="ui-icon-print"
									update="@all"
									actionListener="#{beanReporteCedula.mostrarReporte('Cedula_4')}"
									styleClass="ui-dialog-buttonpane" />
							</h:panelGrid>
						</p:tab>
					</p:tabView>
				</p:panel>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>